<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:79:"/app/wwwroot/root/gongzi/public/../application/index/view/index/my_payslip.html";i:1673867254;s:67:"/app/wwwroot/root/gongzi/application/index/view/layout/default.html";i:1671875144;s:67:"/app/wwwroot/root/gongzi/application/index/view/common/sidenav.html";i:1671875144;s:66:"/app/wwwroot/root/gongzi/application/index/view/common/script.html";i:1671875145;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title><?php echo (isset($title) && ($title !== '')?$title:'工资条'); ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link href="/assets/css/frontend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo htmlentities(\think\Config::get('site.version')); ?>" rel="stylesheet">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
    <!--[if lt IE 9]>
    <script src="/assets/js/html5shiv.js"></script>
    <script src="/assets/js/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript">
        var require = {
            config: <?php echo json_encode($config); ?>
        };
    </script>
</head>
<body>
<?php if(!$is_mobile && !empty($back_btn)): ?>
<header class="mui-bar mui-bar-nav">
    <?php if($back_btn == 'back'): ?>
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" href="javascript:window.history.back();"></a>
    <?php elseif($back_btn == 'hide'): else: ?>
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" href="<?php echo $back_btn; ?>"></a>
    <a href="<?php echo $back_btn; ?>">&nbsp;</a>
    <?php endif; ?>
    <h1 class="mui-title"><?php echo (isset($title) && ($title !== '')?$title:''); ?></h1>
</header>
<?php endif; ?>
<div class="mui-content" id="pullrefresh">
    <?php if($list): foreach($list as $key => $items): ?>
    <div class="item_box">
        <div class="i_b_title"><?php echo date('Y年m月',strtotime($items['month'])); ?>工资</div>
        <?php if($items['list']): foreach($items['list'] as $item): ?>
        <div class="fsjl_item2 mui-card">
            <div class="f_item_title<?php echo $key == '0' ? ' active' : ''; ?>"><?php echo (isset($payslip_type[$item['payslip_type']]) && ($payslip_type[$item['payslip_type']] !== '')?$payslip_type[$item['payslip_type']]:''); ?><span class="mui-icon mui-icon-arrowup"></span></div>
            <div class="item_list<?php echo $key == '0' ? ' show' : ''; ?>">
                <?php if($item['payslip_json']): foreach($item['payslip_json'] as $name => $value): if($payslip_config['open_hidden_null'] == 1 && $value == ''): elseif($payslip_config['open_hidden_zero'] == 1 && $value == '0'): else: ?>
                <div class="item">
                    <span><?php echo $name; ?></span><div><?php echo (isset($value) && ($value !== '')?$value:'　'); ?></div>
                </div>
                <?php endif; endforeach; endif; ?>
            </div>
            <div class="item">
                <span>实发金额（元）</span>
                <div class="amount"><?php echo $item['payslip_total']; ?></div>
            </div>
        </div>
        <?php endforeach; endif; ?>
    </div>
    <?php endforeach; endif; ?>
</div>
<link rel="stylesheet" type="text/css" href="/assets/index/css/mui.min.css">
<link rel="stylesheet" type="text/css" href="/assets/index/css/css.css?v=<?php echo htmlentities(\think\Config::get('site.version')); ?>">
<link rel="stylesheet" type="text/css" href="/assets/index/css/mui.picker.min.css" />
<script src="/assets/index/js/mui.min.js"></script>
<script src="/assets/index/js/mui.picker.min.js"></script>
<script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-frontend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version']); ?>"></script>
<style>
    body,html {
        position: absolute;
        width: 100%;
        left: 0;
        top:0;
        bottom: 0;
        right: 0;
        height: 100vh;
    }
</style>
</body>
</html>